//先引入插件
import Mock from 'mockjs';
//创建虚拟的接口数据
Mock.mock('/api/user/login', {
    "status": 0,
    "data": {
        "id|1021-34678": 12,
        "username": "@name",
        "email": "1138181922@qq.com",
        "phone": "18914452023",
        "role": "rose",
        "createTime": "1123344",
        "updateTime": "6790000"
    }
});